public class Test {
    public static void main(String[] args) {
        MyArrayList myArrayList = new MyArrayList();
        myArrayList.add(1);
        myArrayList.add(2);
        myArrayList.add(3);
        myArrayList.add(4);
        myArrayList.add(5);
        myArrayList.add(5,6);
        //System.out.println(myArrayList.cotains(3));
        //System.out.println(myArrayList.indexof(4));
       // System.out.println(myArrayList.get(3));
        //myArrayList.set(2,10);
       // myArrayList.remove(2);
        System.out.println(myArrayList.size());
        //myArrayList.set(8,3);
        myArrayList.disPlay();
    }
}